import request from '@/utils/request'

export function getMarketList(data) {
  return request({
    url: '/marketinfo/list',
    method: 'post',
    data
  })
}

export function createMarket(data) {
  return request({
    url: '/marketinfo/create',
    method: 'post',
    data
  })
}

export function updateMarket(data) {
  return request({
    url: '/marketinfo/update',
    method: 'put',
    data
  })
}

export function deleteMarket(data) {
  return request({
    url: '/marketinfo/delete',
    method: 'delete',
    data
  })
}
